package cn.silver.module.configuration.param;

import cn.silver.framework.core.validate.AddGroup;
import cn.silver.framework.core.validate.EditGroup;
import cn.silver.framework.mybatis.annotation.TableField;
import cn.silver.framework.mybatis.domain.BaseEntity;
import cn.silver.framework.mybatis.enums.SearchTypeEnums;
import cn.silver.framework.mybatis.param.BusParam;
import cn.silver.module.configuration.domain.SysParam;
import io.github.linpeilie.annotations.AutoMapper;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;


/**
 * 参数配置业务对象 sys_config
 *
 * @author Michelle.Chung
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SysParam.class, reverseConvertGenerate = false)
public class ConfigParam extends BusParam {
    /**
     * 系统内置（Y是 N否）
     */
    @Schema(title = "系统内置")
    @TableField(name = "built", searchType = SearchTypeEnums.EQ)
    private Boolean built;
}
